﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets {
    import flash.display.*;
    import org.robotlegs.mvcs.*;
    import org.robotlegs.base.*;
    import net.wooga.pets.controllers.startup.*;

    public class PetsContext extends Context {

        public function PetsContext(_arg1:DisplayObjectContainer){
            super(_arg1);
        }
        override public function startup():void{
            commandMap.mapEvent(ContextEvent.STARTUP, PrepControllerCommand, ContextEvent, true);
            commandMap.mapEvent(ContextEvent.STARTUP, PrepServicesCommand, ContextEvent, true);
            commandMap.mapEvent(ContextEvent.STARTUP, PrepModelCommand, ContextEvent, true);
            commandMap.mapEvent(ContextEvent.STARTUP, PrepViewCommand, ContextEvent, true);
            commandMap.mapEvent(ContextEvent.STARTUP, RegisterRepriseTagRendererCommand, ContextEvent, true);
            commandMap.mapEvent(ContextEvent.STARTUP, StoreParamsCommand, ContextEvent, true);
            commandMap.mapEvent(ContextEvent.STARTUP, LoadBasicDataCommand, ContextEvent, true);
            dispatchEvent(new ContextEvent(ContextEvent.STARTUP));
        }

    }
}//package net.wooga.pets 
